/**
 * ActiveThread.java
 * ************************** 
 * @date Mar 19, 2011
 * @author Michele Tamburini
 * 
 * **************************
 */
package gossipServices.gossipThread;

/**
 * Description:
 * If a class is used to implement a Gossip-protocol
 * and uses the GossipThread class, must implement
 * this interface that's the duty to specify the
 * actions performed by the current thread.
 *
 */
public interface GossipThreadsInstructions{
	
	/**
	 * Because the skeleton of a gossip protocol is common to different threads
	 * (passive and active for instance) a thread must specify its own actions
	 * by implementing this method.
	 * @throws InterruptedException
	 */
	public void gossipThreadInstructions() throws InterruptedException;
	
}
